var ScrambledEggs;
(function (ScrambledEggs) {
    (function (Debug) {
        var States = (function () {
            function States() { }
            States.Default = ScrambledEggs.GameStateProvider.DefaultState;
            return States;
        })();
        Debug.States = States;        
        States.StartAnew = ScrambledEggs.Utility.General.Clone(States.Default);
        States.StartAnew.Name = "Start anew";
        States.AtDoor = ScrambledEggs.Utility.General.Clone(States.StartAnew);
        States.AtDoor.Name = "At the door";
        States.AtDoor.Phase = ScrambledEggs.GamePhase.Baby;
        States.AtDoor.PhysicalMaturity = 350;
        States.AtDoor.MentalMaturity = 350;
        States.AtDoor.Fullness = 99;
        States.AtDoor.LeftPen = true;
        States.AtDoor.DecisionCatFood = ScrambledEggs.CatFoodDecision.Ate;
        States.AtDoor.Inventory["PenKey"] = 1;
        States.BabyFinished = ScrambledEggs.Utility.General.Clone(States.AtDoor);
        States.BabyFinished.Name = "New young adult" , States.BabyFinished.Phase = ScrambledEggs.GamePhase.YoungAdult;
        States.BabyFinished.PhysicalMaturity = 400;
        States.BabyFinished.MentalMaturity = 400;
        States.BabyFinished.DecisionBabyFinale = ScrambledEggs.BabyFinaleDecision.Jailbreak;
    })(ScrambledEggs.Debug || (ScrambledEggs.Debug = {}));
    var Debug = ScrambledEggs.Debug;
})(ScrambledEggs || (ScrambledEggs = {}));
var win = window;
win.setStateStartAnew = function () {
    win.withGame(function (game) {
        game.GameState.State = ScrambledEggs.Debug.States.StartAnew;
    });
};
win.setStateAtDoor = function () {
    win.withGame(function (game) {
        game.GameState.State = ScrambledEggs.Debug.States.AtDoor;
    });
};
win.setStateBabyFinished = function () {
    win.withGame(function (game) {
        game.GameState.State = ScrambledEggs.Debug.States.BabyFinished;
    });
};
win.logGameState = function () {
    win.withGame(function (game) {
        console.log(game.GameState.State);
    });
};
